package com.ruoyi.system.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.AgrBaseEntity;
import lombok.Data;
import lombok.ToString;


/**
 * @Author: zjk
 * @Date: 2025/3/9 15:04
 * @Description: 预警记录
 */
@Data
@ToString
public class AgrAlertRecord extends AgrBaseEntity {
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long recordId;

    /** 触发设备ID */
    @Excel(name = "触发设备ID")
    private Long sourceId;

    /** 阈值字段ID */
    @Excel(name = "阈值字段ID")
    private Long fieldId;


    /** 预警内容，土壤墒情设备A001所在地块B32土壤湿度低于最小值70%，采集值为69%，报警 */
    @Excel(name = "预警内容")
    private String alertInfo;

    /** 预警时间 */
    @Excel(name = "预警时间")
    private String alertTime;

    /** 预警方式，短信、站内信、电话、自动开始应急设备 */
    @Excel(name = "预警方式，短信、站内信、电话、自动开始应急设备")
    private String alertType;

    /** 执行设备ID */
    @Excel(name = "执行设备ID")
    private Long targetId;

    /** 地块ID */
    @Excel(name = "地块ID")
    private Long plotsId;

    /** 异常类型ID */
    @Excel(name = "异常类型ID")
    private Long exceptionId;

    /** 执行时长 */
    @Excel(name = "执行时长")
    private String exeTime;

}
